package view.component.window
{
import mapengine.interfaces.IMapBuilding;

/**
 * UpgradeBuildingUI
 * @author jliang
 *
 */
public class UpgradeBuildingUI extends WindowComponent
{
	//==========================================================================
	//  Constructor
	//==========================================================================
	public function UpgradeBuildingUI()
	{
		super();
	}
	
	public function set data(value:IMapBuilding):void
	{
		UpgradeBuildingUIProxy(window).data = value;
	}
	
	public function get data():IMapBuilding
	{
		return UpgradeBuildingUIProxy(window).data;
	}
}
}